package com.gopay.common.domain.airticket;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

@Entity
@Table(name="AIR_TICKET_USE_LOG")
public class AirTicketUserLog extends BaseEntity{
	  
		/**
	 * 
	 */
	private static final long serialVersionUID = -4312673483023541784L;

		@Id
	    @SequenceGenerator(name="AIR_TICKET_USE_LOG_SQ_GENERATOR", sequenceName="AIR_TICKET_USE_LOG_SQ")
	    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="AIR_TICKET_USE_LOG_SQ_GENERATOR")
	    @Column(name="SQ", unique=true, nullable=false, precision=22)
	    private int id;

	    @Column(name="MER_NAME")
	    private String merName;

	    @Column(name="OPR_NAME")
	    private String oprName;

	    @Column(name="USE_TIME")
	    private Date useTime;

		public int getId() {
			return id;
		}

		public void setId(int id) {
			this.id = id;
		}

		public String getMerName() {
			return merName;
		}

		public void setMerName(String merName) {
			this.merName = merName;
		}

		public String getOprName() {
			return oprName;
		}

		public void setOprName(String oprName) {
			this.oprName = oprName;
		}

		public Date getUseTime() {
			return useTime;
		}

		public void setUseTime(Date useTime) {
			this.useTime = useTime;
		}
	    
	    

}
